/*************************************************************************
 *
 * $Id: log.h 80 2006-08-06 17:01:11Z alpov $
 * 
 *************************************************************************/         

#ifndef _LOG_H
#define _LOG_H

#define DF_BUF_POS          (PageSize - 2)
//#define DF_RTC_POS          (PageSize - 6)
#define DF_LOG_PAGESIZE     32

extern Mutex DataFlashMutex;

extern void InitLog(void);
extern void LogEraseAll(void);
extern void LogWrite(char *data, unsigned char length);
extern void LogWriteTemperature(void);

#endif
